/* tab多行及筛选改造 */
.more-label-btn {
  position: absolute;
  right: 16px;
  top: -16px;
  z-index: 10;
  line-height: 1;
  color: #000;
}
.detail-main-content-right {
  display: flex;
  flex-direction: column;

  .el-tabs__header {
    background: #fafafa;
  }
  .el-tabs__nav-wrap {
    margin: 0;
    &:after {
      background-color: #e8e8e8;
    }
  }
  .el-tabs__nav {
    white-space: normal;
    // background: #fff;
    padding-right: 44px;
    height: auto;
    font-size: 0;
    .el-tabs__item {
      padding: 0 !important;
      margin: 0 16px;
      height: 40px;
      line-height: 40px;
      max-width: 290px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      vertical-align: middle;
      &.is-active {
        border-bottom: 2px solid $color-primary-light-6;
      }
    }
    .el-tabs__active-bar {
      display: none;
    }
  }

  .el-tabs {
    height: auto;
    max-height: 100%;
    flex-shrink: 0;
    &.labelLittle {
      .el-tabs__header {
        max-height: 80px;
        overflow: hidden;
        flex-shrink: 0;
      }
      .el-tabs__nav-wrap {
        max-height: 80px;
      }
    }
  }
  .el-button.right-tab-selector {
    position: absolute;
    right: 16px;
    top: 7px;
    display: inline;
    padding: 0;
    min-width: auto;
    z-index: 10;
    width: 24px;
    height: 24px;
    &:hover,
    &:active,
    &:focus {
      background-color: #fff;
      border-color: $color-primary-light-6;
    }
    i {
      font-size: 12px;
    }
  }
}
.theme-default .right-tab-selector-popover {
  padding: 0;
  min-width: 198px;
  max-width: 331px;
  .el-popover__title {
    padding: 0 12px;
    height: 38px;
    line-height: 38px;
    background: #F5F5F5;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 0;
  }
  &>.popper__arrow:after {
    border-bottom-color: #f5f5f5;
  }
}
.right-tab-selector-group {
  max-height: 259px;
  overflow: auto;
  padding-top: 8px;
  .el-checkbox {
    width: fit-content;
    width: auto;
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    margin: 0;
    .el-checkbox__input {
      line-height: 0;
    }
    .el-checkbox__label {
      text-overflow: ellipsis;
      overflow: hidden;
      color: rgba(0, 0, 0, 0.85);
      max-width: 290px;
    }
    &.is-checked {
      .el-checkbox__label {
        color: rgba(0, 0, 0, 0.85);
      }
    }
    &.is-disabled {
      .el-checkbox__inner {
        background-color: #fff !important;
        border-color: rgba(126, 134, 142, 0.16) !important;
      }
      .el-checkbox__label {
        color: #BFBFBF;
      }
    }
  }
}